home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.20010306-20010921
/
000056_news@columbia.edu _Thu Apr 5 14:42:48 2001.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
2KB
Return-Path: <news@columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id OAA27003
for <kermit.misc@cpunix.cc.columbia.edu>; Thu, 5 Apr 2001 14:42:48 -0400 (EDT)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id OAA27584
for kermit.misc@watsun.cc.columbia.edu; Thu, 5 Apr 2001 14:22:38 -0400 (EDT)
X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
From: grante@visi.com (Grant Edwards)
Subject: Macro prameters containing spaces?
Message-ID: <LJ2z6.11071$SB2.1260878@ruti.visi.com>
Date: Thu, 05 Apr 2001 18:22:35 GMT
To: kermit.misc@columbia.edu
I'm trying to automate some stuff done via serial port using
CKermit 7. My local B&N didn't carry the book, so I've ordered
a copy. But, in the meanwhile, I'm stuck on trying to write a
macro where one of the parameters is a string that may have
spaces in it:
define docmd {
output \fcontents(\%2)
output \13
input \%1 Prompt>
if failure echo FAILURE
}
define setup {
docmd 1 hello
docmd 1 "ip 192.168.1.11 255.255.255.0 192.168.1.1"
docmd 25 "flash init -f"
docmd 1 reset
}
I've tried using \32 for space in the parameter string and that
doesn't work either. There must be trick to make this work...
--
Grant Edwards grante Yow! Youth of today! Join
at me in a mass rally
visi.com for traditional mental
attitudes!